package io.renren.modules.learn.service.impl;

import io.renren.modules.learn.dao.AlgorithmChapterDao;
import io.renren.modules.learn.entity.AlgorithmChapterEntity;
import io.renren.modules.learn.service.AlgorithmChapterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class AlgorithmChapterServiceImpl implements AlgorithmChapterService {
    @Autowired
    private AlgorithmChapterDao chapterDao;
    
    @Override
    public List<AlgorithmChapterEntity> getAllChapters() {
        return chapterDao.getAllChapters();
    }
} 